﻿@using System.Collections.Generic;

@using Share.Bonnet.Pager
@model    List<BootstrapSiteCSharp.MyCustomer>
    <script src="~/Scripts/jquery-1.9.0.js"></script>
    <script type="text/javascript">

        $(document).ready(function () {

            alert("1");
        }

        )
    </script>
    <div class="container">

        <div class="starter-template">
            <h1>Bootstrap starter template</h1>
            <p class="lead">Use this document as a way to quickly start any new project.<br> All you get is this text and a mostly barebones HTML document.</p>
        </div>

        <table>
            @foreach (MyCustomer m in Model)
            {



                <tr>
                    <td>@m.城市</td>
                    <td>@m.公司名称</td>
                </tr>

            }

        </table>
        @Pager.RenderPagination(this.Html, ViewData["wdt"] as mdata, (page, text) => Html.ActionLink(
        new HtmlContainer(text),
        null,
        new { Page = page }
    ))

    </div><!-- /.container -->
